package com.chen.gulimall.gulimallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.gulimall.gulimallproduct.entity.SpuInfoEntity;
import com.chen.gulimall.gulimallproduct.vo.SpuSaveVo;
import com.chen.gulimallcommon.common.utils.PageUtils;

import java.util.Map;

/**
 * spu信息
 *
 * @author mr.chen
 * @email 3061634906@qq.com
 * @date 2022-04-18 22:06:56
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuInfo);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);

}

